﻿$controls/header()$
$controls/navigation()$

<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="180" valign="top">$controls/drawer()$ </td>
<td width="5"></td>
<td valign="top">
$controls/tableheader(
  Caption="友情链接",
  ElementId="friendlink"
  )$
  <form method="POST" name="ArticleForm" id="ArticleForm">
<table width="100%" cellspacing="0" class="inner">
<tr class="category forumtd" style="font-weight:bold;">
  	<td width="40">删？</td>
    <td>&nbsp;</td>
    <td width="200">名称</td>
    <td width="200">Logo</td>
    <td width="200">地址</td>
    </tr>
	$Links:{l|
	<tr class="forumtd">
	<td><input type='checkbox' name='ids' value='$l.Id$' class="smallbox" /><input type='hidden' name='id' value='$l.Id$' /></td>
    <td>$if(l.HasLogo)$<img src="$l.Logo$" alt="$l.Text$" />$else$&nbsp;$endif$</td>
    <td><input type='text' name='text$l.Id$' value='$l.Text$' style="width:98%;" /></td>
    <td><input type='text' name='logo$l.Id$' value='$l.Logo$' style="width:98%;"/></td>
    <td><input type='text' name='url$l.Id$' value='$l.Url$' style="width:98%;"/></td>
    </tr>
	}$
	<tr class="forumtd">
	<td colspan="2" align="center" style="font-size:12px;">添加新的友情链接&nbsp;&rsaquo;&rsaquo;</td>
	<td><input type="text" name="newtext" style="width:98%;"/></td>
	<td><input type="text" name="newlogo" style="width:98%;"/></td>
	<td><input type="text" name="newurl" style="width:98%;"/></td>
	</tr>
</table> 
  $controls/tablefooter()$
  <p align="center"><input type="submit" value=" 提交 " class="button" /></p>
  </form>
  </td>
</tr>
</table>
$controls/footer()$